package cst.a521wh.zyfypt_521wh.Service;

import java.util.List;

import cst.a521wh.zyfypt_521wh.bean.LoginBean;
import cst.a521wh.zyfypt_521wh.bean.VideoBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by MSI on 2017/5/29.
 */

public interface ResService {
    @GET("api.php/login")
    Call<LoginBean>login(@Query("username") String userName,
                         @Query("password") String passWord);
    @GET("api.php/lists/mod/{mod}")
    Call<List<VideoBean>>getVideoList(@Path("mod") String mod,
                                      @Query("page")int page,
                                      @Header("SessionID")String SessionID);
    /*reg();

    getDatil();*/

}
